package com.snpic.appaw.module.third.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author JiJun
 * @date 2025/9/10 9:08
 * @修改时间 2025/9/10 9:08
 * @description 极光认证,配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "third-party.jpush")
public class JPushConfig {
    /**
     * REST API 鉴权凭证
     */
    private String appKey;

    /**
     * REST API 鉴权密钥
     */
    private String masterSecret;

    /**
     * 登录令牌验证配置
     */
    private LoginTokenVerify loginTokenVerify;

    @Data
    public static class LoginTokenVerify {
        /**
         * H5端验证接口地址
         */
        private String urlH5;

        /**
         * 电话号码解密私钥
         */
        private String privateKeyWeb;
    }
}
